package com.example.demo.model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author Administrator 高欣月
 */
@ApiModel(value = "user" ,description = "用户信息")
@Data

public class User {
private  int ygid;
    @ApiModelProperty("姓名")
    private String name;
    @ApiModelProperty(value = "性别",example = "女")
    private String gender;
    @ApiModelProperty(value = "年龄",example = "18")
    private int age;
    private String plook;
    private String zw;
    private Date hiredate;
    private Date leavedate;
    private String address;
    private  String health;
    private Date birthdate;
    private  String jgplace;
    private  String race;
    private  String pnumber;
    private String status;
    private int bmid;
    public User() {
    }

    public User(int ygid, String name, String gender, int age, String plook, String zw, Date hiredate, String address, String health, Date leavedate, String jgplace, String race, String pnumber, Date birthdate, String status,int bmid) {
        this.ygid = ygid;
        this.name = name;
        this.gender = gender;
        this.age = age;
        this.plook = plook;
        this.zw = zw;
        this.hiredate = hiredate;
        this.address = address;
        this.health = health;
        this.leavedate = leavedate;
        this.jgplace = jgplace;
        this.race = race;
        this.pnumber = pnumber;
        this.birthdate = birthdate;
        this.status = status;
        this.bmid=bmid;
    }
}
